



export let setLol = (key: string, value: any) => {
    localStorage.setItem(key, JSON.stringify(value))
}


export let getLol = (key: string) => {
    return localStorage.getItem(key)
}

export let rmLol = (key: string) => {
    localStorage.removeItem(key)
}

export let clLol = () => {
    localStorage.clear()
}



// req1({

// }).then(res1 => {
//     req2({

//     }).then(res2 => {
//         console.log(re1, res2);

//     })
// })

// Promise.all([req1, req2]).then((res1, res2) => {
//     console.log(res1, res2);
// })

// async function aaa() {
//     let res1 = await req1({

//     })
//     let res2 = await req2({

//     })
//     console.log(res1, res2);
// }
